from llama_index.core import VectorStoreIndex, SimpleDirectoryReader

# Load documents and build index
documents = SimpleDirectoryReader(
    "D://代码//AIStudy//RAG//data"
).load_data()

# index = VectorStoreIndex.from_documents(documents)
# query_engine = index.as_query_engine()
# query_engine.query("猫与老鼠凑一家")
